class ListNode4 {
    int val;
    ListNode4 next;
    ListNode4 head;

    ListNode4() {
    }

    ListNode4(int val) {
        this.val = val;
    }

    ListNode4(int val, ListNode4 next) {
        this.val = val;
        this.next = next;
    }

}


public class Java1019 {
    public ListNode4 partition(ListNode4 newhead, int x) {
        ListNode4 as;
        ListNode4 ae;
        ListNode4 bs;
        ListNode4 be;

        ListNode4 cur = newhead;


    }

    public static void main(String[] args) {
        System.out.println("1019");
    }
}